package com.sl.au.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;

@Entity
@Table(name = "cusAndConArea")
public class CusAndConArea {
	
	@Id
	private String id;
	
	private String sCustomerName;
	
	private String cusAreaName;
	
	private String contractId;
	
	private String conAreaName;
	
	@OneToOne
	@JoinColumn(unique = false)
    private SaleArea ConSarea;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getsCustomerName() {
		return sCustomerName;
	}

	public void setsCustomerName(String sCustomerName) {
		this.sCustomerName = sCustomerName;
	}

	public String getCusAreaName() {
		return cusAreaName;
	}

	public void setCusAreaName(String cusAreaName) {
		this.cusAreaName = cusAreaName;
	}

	public String getContractId() {
		return contractId;
	}

	public void setContractId(String contractId) {
		this.contractId = contractId;
	}

	public String getConAreaName() {
		return conAreaName;
	}

	public void setConAreaName(String conAreaName) {
		this.conAreaName = conAreaName;
	}

	public SaleArea getConSarea() {
		return ConSarea;
	}

	public void setConSarea(SaleArea conSarea) {
		ConSarea = conSarea;
	}
	

}
